package com.bgds.sys.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**


/**
 * @Description 菜单权限中间表
 * @Author lj
 * @create: 2020-07-09 13:55
 */
@Data
@TableName("bgds_permission_device")
@ApiModel(value = "菜单权限中间表")
public class PermissionDevice implements  Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 菜单ID
     */
    @ApiModelProperty(value = "菜单ID")
    private Long permissionId;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

}
